package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: TimeRecomBean
 * @Description: 时段推荐
 * @Author: ljp
 * @CreateDate: 2018/10/22 9:43
 * @Version: 1.0
 */
public class TimeRecomBean {

    /**
     * code : 200
     * msg : 成功
     * list : [{"id":"bbb","isNewRecord":false,"hotId":"4cffd1c897fc4f0fbf7e344b339f82bc","type":"3","title":"时段推荐","url":"","userId":"4cffd1c897fc4f0fbf7e344b339f82bc","avatarUrl":"123.jpg","nickName":"我叫123","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":100,"voiceInfo":"哈哈哈","autograph":"比心","vType":"0"},{"id":"dddd","isNewRecord":false,"hotId":"a13cd7b148704280a7e2556cf7f02142","type":"3","title":"时段推荐","userId":"a13cd7b148704280a7e2556cf7f02142","avatarUrl":"asd","nickName":"小明","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":100,"voiceInfo":"哈哈哈","autograph":"今天下雨了","vType":"0"}]
     */

    private int code;
    private String msg;
    private List<ListBean> list;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : bbb
         * isNewRecord : false
         * hotId : 4cffd1c897fc4f0fbf7e344b339f82bc
         * type : 3
         * title : 时段推荐
         * url :
         * userId : 4cffd1c897fc4f0fbf7e344b339f82bc
         * avatarUrl : 123.jpg
         * nickName : 我叫123
         * gender : 1
         * birthday : 1995年10月21
         * height : 80;170
         * ascription : 杭州
         * gold : 100
         * voiceInfo : 哈哈哈
         * autograph : 比心
         * vType : 0
         */

        private boolean isNewRecord;
        private String type;
        private String url;
        private String hotId;
        private String avatarUrl;
        private String nickName;
        private int gender;
        private String birthday;
        private String height;
        private String ascription;
        private int gold;
        private String voiceInfo;
        private String autograph;
        private String vType;
        private int duration;//语音时长

        public int getDuration() {
            return duration;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }


        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }


        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getUserId() {
            return hotId;
        }

        public void setUserId(String userId) {
            this.hotId = userId;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }

        public String getAscription() {
            return ascription;
        }

        public void setAscription(String ascription) {
            this.ascription = ascription;
        }

        public int getGold() {
            return gold/10;
        }

        public void setGold(int gold) {
            this.gold = gold;
        }

        public String getVoiceInfo() {
            return voiceInfo;
        }

        public void setVoiceInfo(String voiceInfo) {
            this.voiceInfo = voiceInfo;
        }

        public String getAutograph() {
            return autograph;
        }

        public void setAutograph(String autograph) {
            this.autograph = autograph;
        }

        public String getVType() {
            return vType;
        }

        public void setVType(String vType) {
            this.vType = vType;
        }

        @Override
        public String toString() {
            return "ListBean{" +
                    "isNewRecord=" + isNewRecord +
                    ", type='" + type + '\'' +
                    ", url='" + url + '\'' +
                    ", userId='" + hotId + '\'' +
                    ", avatarUrl='" + avatarUrl + '\'' +
                    ", nickName='" + nickName + '\'' +
                    ", gender=" + gender +
                    ", birthday='" + birthday + '\'' +
                    ", height='" + height + '\'' +
                    ", ascription='" + ascription + '\'' +
                    ", gold=" + gold +
                    ", voiceInfo='" + voiceInfo + '\'' +
                    ", autograph='" + autograph + '\'' +
                    ", vType='" + vType + '\'' +
                    ", duration=" + duration +
                    '}';
        }
    }
}
